def build(bld): 
  toolchain   = "codesourcery"
  
  comp_prefix = bld.get_name_prefix(toolchain=toolchain)
  
  bld.program (name         = comp_prefix + "netX10",
               target       = "netX10",
               description  = "Serial DPM Host Example for netX10",
               displaygroup = "Targets",
               platform     = "netx10",
               toolchain    = toolchain, 
               source_arm   = ["Sources/main.c", "Sources/OS_Spi.c"],
               use          = [comp_prefix + "ToolkitSample",
                               comp_prefix + "HAL_netx10",
                               comp_prefix + "libc_support_netx10"],
               linkerscript = "netX10_intram.ld",
               install_path = ".",
  )
    